package com.itheima.service;

import com.itheima.entity.Result;
import org.springframework.core.io.Resource;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @Description 统计服务接口
 * @Author makun
 * @Date 2023/9/20 16:45
 * @Version 1.0
 */
public interface ReportService {
    /**
     * 获取会员今年每月的变化情况
     * @return
     */
    Map<String, List<Integer>> getMemberReport();

    /**
     * 获取套餐下单情况
     * @return
     */
    Map<String, List<?>> getSetMealReport();

    /**
     * 获取系统运营数据
     * @return
     */
    Map<String, Object> getBusinessReportData();

    /**
     * 导出运营数据
     * @return
     */
    boolean exportBusinessReport(HttpServletResponse response);
}
